﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="User.aspx.cs" Inherits="Tradier.Users" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="stylesheet" type="text/css" href="/Contents/flat-ui/css/vendor/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/Contents/flat-ui/css/flat-ui.css" />
    <link rel="stylesheet" type="text/css" href="/Contents/css/style.css" />
</head>
<body>
    <a href="/CreateOrder.aspx">Place a Trade</a> | <a href="/UserPositions.aspx">View Positions</a> | <a href="/UserOrders.aspx">View Pending Orders</a> | <a href="/OrdersHistory.aspx">View Order History</a>
    <form id="form1" runat="server">
    <div class="trading-template">
        <div class="panel-default">
        <table>
            <thead>
                <tr>
                    <th>
                        Account Number
                    </th>
                    <th>
                        Account Type
                    </th>
                    <th>
                        Close Pl
                    </th>
                    <th>
                        Open PL
                    </th>
                    <th>
                        Current Requirement
                    </th>
                    <th>
                        Equity
                    </th>
                    <th>
                        Short Market Value
                    </th>
                    <th>
                        Long Market Value
                    </th>
                    <th>
                        Market Value
                    </th>
                    <th>
                        Option Short Value
                    </th>
                    <th>
                        Option Long Value
                    </th>
                    <th>
                        Option Requirement
                    </th>
                    <th>
                        Pending Orders Count
                    </th>
                    <th>
                        Stock Long Value
                    </th>
                    <th>
                        Total Cash
                    </th>
                    <th>
                        Total Equity
                    </th>
                    <th>
                        Uncleared Funds
                    </th>
                </tr>
            </thead>
            <asp:Repeater ID="uxAccounts" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Eval("AccountNumber") %>
                        </td>
                        <td>
                            <%#Eval("AccountType") %>
                        </td>
                        <td>
                            <%#Eval("ClosePl")%>
                        </td>
                        <td>
                            <%#Eval("OpenPl")%>
                        </td>
                        <td>
                            <%#Eval("CurrentRequirement")%>
                        </td>
                        <td>
                            <%#Eval("Equity")%>
                        </td>
                        <td>
                            <%#Eval("ShortMarketValue")%>
                        </td>
                        <td>
                            <%#Eval("LongMarketValue")%>
                        </td>
                        <td>
                            <%#Eval("MarketValue")%>
                        </td>
                         <td>
                            <%#Eval("OptionShortValue")%>
                        </td>
                        <td>
                            <%#Eval("OptionLongValue")%>
                        </td>
                        <td>
                            <%#Eval("OptionRequirement")%>
                        </td>
                        <td>
                            <%#Eval("PendingOrdersCount")%>
                        </td>
                        <td>
                            <%#Eval("StockLongValue")%>
                        </td>
                        <td>
                            <%#Eval("TotalCash")%>
                        </td>
                         <td>
                            <%#Eval("TotalEquity")%>
                        </td>
                         <td>
                            <%#Eval("UnclearedFunds")%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    </div>
    </form>
</body>
</html>
